package com.moefor.clover.dao;

import java.io.Serializable;

import org.hibernate.Session;

public interface BaseDao<T> {
	public Session getSession();
	
	public T get(Serializable id);
	
	public T get(int id);
	
	public boolean add(T obj);
	
	public boolean update(T obj);
	
	public boolean delete(int id);
	
	public boolean delete(T obj);
}
